using UnityEngine;
using System.Collections;

namespace ViNoToolkit{
	
	/// <summary>
	/// On active save load panel and Set Text "Save" or "Load".
	/// </summary>
	public class OnActiveSaveLoadPanel : MonoBehaviour {
		public ViNoTextBox saveLoadText;

		void OnEnable(){
			if( SystemUIEvent.saveMode ){
				saveLoadText.SetText( "Save" );
			}
			else{
				saveLoadText.SetText( "Load" );
			}
		}

	}

}